<template>
	<view>
		<head-box></head-box>

		<view class="donations_list tab-botton">
			<view class="donations_item"  v-for="item,index in 2" :key="index">
				<view class="donations_item_topbox">
					<view class="wl">
						<image src="../../static/img/zhendi.png" mode="scaleToFill"></image>
					</view>
					<view class="wc">
						<view class="donations_item_title">杭州市共青团滨江阵地</view>
						<view class="donations_item_time">2021-03-03 11:12:13</view>
					</view>
					<view class="wr success">
						<view>已评价</view>
						<image src="../../static/img/jt_up.png"></image>
					</view>
				</view>
				<view class="donations_item_bbox"  style="display: none;">
					感觉非常好,场地非常漂亮,工作人员态度很好
				</view>
			</view>

			<view class="donations_item"  v-for="item,index in 6" :key="index">
				<view class="donations_item_topbox">
					<view class="wl">
						<image src="../../static/img/zhendi.png" mode="scaleToFill"></image>
					</view>
					<view class="wc">
						<view class="donations_item_title">杭州市贸易促进委员会西湖阵地</view>
						<view class="donations_item_time">2021-03-03 11:12:13</view>
					</view>
					<view class="wr error">
						<view>待评价</view>
						<image src="../../static/img/jt_up.png"></image>
					</view>
				</view>
				<view class="donations_item_bbox" style="display: none;">
					<textarea placeholder-style="color:#e4e4e4" placeholder="请输入你的评价"/>
					<button type="warn">确定评价</button>
				</view>
			</view>
		</view>
		<tabs-box></tabs-box>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
    onShow(){
      // #ifdef H5
      console.log('分享')
      this.$wxSetShare()
      // #endif
    },
	}
</script>

<style lang="scss">
	.top_cj
	{
		background-color: #f6f6f6;
		padding: 40rpx 30rpx;
		font-size: 30rpx;
		text-align: right;
		text{
			margin: 0 10rpx;
			font-weight: bold;
			color: #eeb73a;
		}
	}
	.donations_list{
		padding: 0 30rpx;
		margin-bottom: 140rpx;
		.donations_item{
			text-align: left;
			color: #363636;
			.donations_item_bbox{
				font-size: 26rpx;
				line-height: 50rpx;
				color: #888888;
				padding: 30rpx 0 30rpx 100rpx;
				border-bottom: 1px solid #f6f6f6;
				textarea{
					width: 100%;
					height: 150rpx;
				}
			}
			.donations_item_topbox{
				display: flex;
				flex-direction: row;
				.wl{
					width: 110rpx;
					img{
						width: 80rpx;
						height: 80rpx;
						border-radius: 50%;
					}
					image{
						width: 80rpx;
						height: 80rpx;
						border-radius: 50%;
					}

					padding: 40rpx 0 20rpx 0;
				}
				.wr{
					width: 150rpx;
					font-size: 30rpx;
					text-align: right;
					border-bottom: 1px solid #f6f6f6;
					font-weight: bold;
					padding: 40rpx 0 20rpx 0;
					image{
						width: 30rpx;
						height: 30rpx;
						margin-top: 10rpx;
					}

				}
				.success
				{
					color: #26b317;
				}
				.error
				{
					color: #ec1d1d;
				}
				.wc{
					width:calc(100% - 270rpx);
					border-bottom: 1px solid #f6f6f6;
					padding: 40rpx 0 20rpx 0;
					.donations_item_title{
						font-size: 30rpx;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;

					}
					.donations_item_time{
						font-size: 24rpx;
						padding-top: 10rpx;
						color: #d1d1d1;
					}
				}
			}
		}

	}
</style>
